#include <bits/stdc++.h>
using namespace std;

int main()
{
    //整型 short 2 int 3 long 4 long long 8
    //语法：sizeof(数据类型)
    
    cout << "short = " << sizeof(short) << " bytes" << endl;
    cout << "int = " << sizeof(int) << " bytes" << endl;
    cout << "long = " << sizeof(long) << " bytes" << endl;
    cout << "long long = " << sizeof(long long) << " bytes" << endl;
    cout << "float = " << sizeof(float) << " bytes" << endl;
    cout << "double = " << sizeof(double) << " bytes" << endl;
    cout << "long double = " << sizeof(long double) << " bytes" << endl;
    cout << "char = " << sizeof(char) << " bytes" << endl;


    return 0;
}